package com.dingding.service.common.core.dao;

import com.dingding.common.core.base.dao.IBaseDao;
import com.dingding.common.core.beans.Phonevalidate;

public interface IPhonevalidateDao extends IBaseDao<Phonevalidate> {

	/**
	 * @Title: generatePhoneValidation
	 * @Description: 生成手机验证码
	 * @param tel 手机号
	 * @author fengshuonan
	 * @return Phonevalidate 手机验证码信息
	 * @throws
	 */
	public Phonevalidate generatePhoneValidation(String tel);

	/**
	 * @Title: verificationCode 
	 * @Description: 验证验证码是否输入正确 
	 * @param tellPhone 用户登录账户(手机号)
	 * @param validateNum 验证码
	 * @author YHQ
	 * @return boolean    返回类型 
	 */
	public boolean verificationCode(String tellPhone, String validateNum);
}
